package com.xxin.module.pojo;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lvjx
 */
@Data
public class BaseEntity {
	/**
	 * 主键
	 */
	@Id(keyType = KeyType.Auto)
	private Long id;
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
}
